package com.example.myapplication.util;

import com.example.myapplication.database.User;

import org.litepal.LitePal;

import java.util.UUID;

public class DbUtils {

    public static User getLoginUser(){
       return LitePal.where("phone = '"+SpUtil.getLoginPhone()+"'").findFirst(User.class);
    }

}
